package com.example.onlinemonitoring.model;

import com.example.onlinemonitoring.model.common.sensor;
import java.util.Date;
import javax.persistence.*;

public class Fdjpdhistory extends sensor {
    @Id
    private Long id;

    private Integer stationid;

    private Integer devicegroup;

    private Integer deviceaddr;

    private String pointname;

    private Integer pointaddr;

    /**
     * 信号强度
     */
    private Integer chargecount;

    /**
     * 放电量-
     */
    private Float dischargeamount;

    /**
     * 放电类型
     */
    private String dischargetype;

    /**
     * 上次放电次数-
     */
    private Float phase;

    private Float temperaturevalue;

    private Float humidityvalue;

    private Date datatime;

    private Integer chargeamountalarmstatus;

    private Integer chargecountalarmstatus;

    private Integer temperaturealarm;

    private Integer humidityalarm;

    private Integer usbstatus;

    private Integer communicationstatus;

    private Integer alarmlevel;

    private String alarmmessage;

    /**
     * 备注信息。
     */
    private String memo;

    /**
     * 字段的显示和隐藏
     */
    private String style;

    /**
     * 值为0为投用,值为1已投用
     */
    private Integer inuse;

    private String dischargeamountdate;

    private String phasedate;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return stationid
     */
    public Integer getStationid() {
        return stationid;
    }

    /**
     * @param stationid
     */
    public void setStationid(Integer stationid) {
        this.stationid = stationid;
    }

    /**
     * @return devicegroup
     */
    public Integer getDevicegroup() {
        return devicegroup;
    }

    /**
     * @param devicegroup
     */
    public void setDevicegroup(Integer devicegroup) {
        this.devicegroup = devicegroup;
    }

    /**
     * @return deviceaddr
     */
    public Integer getDeviceaddr() {
        return deviceaddr;
    }

    /**
     * @param deviceaddr
     */
    public void setDeviceaddr(Integer deviceaddr) {
        this.deviceaddr = deviceaddr;
    }

    /**
     * @return pointname
     */
    public String getPointname() {
        return pointname;
    }

    /**
     * @param pointname
     */
    public void setPointname(String pointname) {
        this.pointname = pointname;
    }

    /**
     * @return pointaddr
     */
    public Integer getPointaddr() {
        return pointaddr;
    }

    /**
     * @param pointaddr
     */
    public void setPointaddr(Integer pointaddr) {
        this.pointaddr = pointaddr;
    }

    /**
     * 获取信号强度
     *
     * @return chargecount - 信号强度
     */
    public Integer getChargecount() {
        return chargecount;
    }

    /**
     * 设置信号强度
     *
     * @param chargecount 信号强度
     */
    public void setChargecount(Integer chargecount) {
        this.chargecount = chargecount;
    }

    /**
     * 获取放电量-
     *
     * @return dischargeamount - 放电量-
     */
    public Float getDischargeamount() {
        return dischargeamount;
    }

    /**
     * 设置放电量-
     *
     * @param dischargeamount 放电量-
     */
    public void setDischargeamount(Float dischargeamount) {
        this.dischargeamount = dischargeamount;
    }

    /**
     * 获取放电类型
     *
     * @return dischargetype - 放电类型
     */
    public String getDischargetype() {
        return dischargetype;
    }

    /**
     * 设置放电类型
     *
     * @param dischargetype 放电类型
     */
    public void setDischargetype(String dischargetype) {
        this.dischargetype = dischargetype;
    }

    /**
     * 获取上次放电次数-
     *
     * @return phase - 上次放电次数-
     */
    public Float getPhase() {
        return phase;
    }

    /**
     * 设置上次放电次数-
     *
     * @param phase 上次放电次数-
     */
    public void setPhase(Float phase) {
        this.phase = phase;
    }

    /**
     * @return temperaturevalue
     */
    public Float getTemperaturevalue() {
        return temperaturevalue;
    }

    /**
     * @param temperaturevalue
     */
    public void setTemperaturevalue(Float temperaturevalue) {
        this.temperaturevalue = temperaturevalue;
    }

    /**
     * @return humidityvalue
     */
    public Float getHumidityvalue() {
        return humidityvalue;
    }

    /**
     * @param humidityvalue
     */
    public void setHumidityvalue(Float humidityvalue) {
        this.humidityvalue = humidityvalue;
    }

    /**
     * @return datatime
     */
    public Date getDatatime() {
        return datatime;
    }

    /**
     * @param datatime
     */
    public void setDatatime(Date datatime) {
        this.datatime = datatime;
    }

    /**
     * @return chargeamountalarmstatus
     */
    public Integer getChargeamountalarmstatus() {
        return chargeamountalarmstatus;
    }

    /**
     * @param chargeamountalarmstatus
     */
    public void setChargeamountalarmstatus(Integer chargeamountalarmstatus) {
        this.chargeamountalarmstatus = chargeamountalarmstatus;
    }

    /**
     * @return chargecountalarmstatus
     */
    public Integer getChargecountalarmstatus() {
        return chargecountalarmstatus;
    }

    /**
     * @param chargecountalarmstatus
     */
    public void setChargecountalarmstatus(Integer chargecountalarmstatus) {
        this.chargecountalarmstatus = chargecountalarmstatus;
    }

    /**
     * @return temperaturealarm
     */
    public Integer getTemperaturealarm() {
        return temperaturealarm;
    }

    /**
     * @param temperaturealarm
     */
    public void setTemperaturealarm(Integer temperaturealarm) {
        this.temperaturealarm = temperaturealarm;
    }

    /**
     * @return humidityalarm
     */
    public Integer getHumidityalarm() {
        return humidityalarm;
    }

    /**
     * @param humidityalarm
     */
    public void setHumidityalarm(Integer humidityalarm) {
        this.humidityalarm = humidityalarm;
    }

    /**
     * @return usbstatus
     */
    public Integer getUsbstatus() {
        return usbstatus;
    }

    /**
     * @param usbstatus
     */
    public void setUsbstatus(Integer usbstatus) {
        this.usbstatus = usbstatus;
    }

    /**
     * @return communicationstatus
     */
    public Integer getCommunicationstatus() {
        return communicationstatus;
    }

    /**
     * @param communicationstatus
     */
    public void setCommunicationstatus(Integer communicationstatus) {
        this.communicationstatus = communicationstatus;
    }

    /**
     * @return alarmlevel
     */
    public Integer getAlarmlevel() {
        return alarmlevel;
    }

    /**
     * @param alarmlevel
     */
    public void setAlarmlevel(Integer alarmlevel) {
        this.alarmlevel = alarmlevel;
    }

    /**
     * @return alarmmessage
     */
    public String getAlarmmessage() {
        return alarmmessage;
    }

    /**
     * @param alarmmessage
     */
    public void setAlarmmessage(String alarmmessage) {
        this.alarmmessage = alarmmessage;
    }

    /**
     * 获取备注信息。
     *
     * @return memo - 备注信息。
     */
    public String getMemo() {
        return memo;
    }

    /**
     * 设置备注信息。
     *
     * @param memo 备注信息。
     */
    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * 获取字段的显示和隐藏
     *
     * @return style - 字段的显示和隐藏
     */
    public String getStyle() {
        return style;
    }

    /**
     * 设置字段的显示和隐藏
     *
     * @param style 字段的显示和隐藏
     */
    public void setStyle(String style) {
        this.style = style;
    }

    /**
     * 获取值为0为投用,值为1已投用
     *
     * @return inuse - 值为0为投用,值为1已投用
     */
    public Integer getInuse() {
        return inuse;
    }

    /**
     * 设置值为0为投用,值为1已投用
     *
     * @param inuse 值为0为投用,值为1已投用
     */
    public void setInuse(Integer inuse) {
        this.inuse = inuse;
    }

    /**
     * @return dischargeamountdate
     */
    public String getDischargeamountdate() {
        return dischargeamountdate;
    }

    /**
     * @param dischargeamountdate
     */
    public void setDischargeamountdate(String dischargeamountdate) {
        this.dischargeamountdate = dischargeamountdate;
    }

    /**
     * @return phasedate
     */
    public String getPhasedate() {
        return phasedate;
    }

    /**
     * @param phasedate
     */
    public void setPhasedate(String phasedate) {
        this.phasedate = phasedate;
    }
}